<script src="src/js/question/unanswered.js"></script>
<div class="box">
    <div class="box-header" style="display: inline-block;">
        <h3 class="box-title">未匹配问题列表</h3>
    </div>
    <form class="form-horizontal" style="float: right;margin-right: 2%;">
        <div class="box-body">
            <div class="form-group">
                <button style="border: 1px solid #0D1113;color: #0D1113;background: transparent;" type="button" class="btn btn-primary" onclick="addQuestion()">新增未匹配问题</button>
            </div>
        </div>
    </form>
    <div class="box-body">
        <table id="keyWordsTable" class="table table-striped table-hover" cellspacing="0" width="100%">
            <thead>
            <tr>
                <th>序号</th>
                <th style="width: 60%">未匹配问题</th>
                <th style="min-width: 150px;">更新日期</th>
                <th style="min-width: 150px;">操作</th>
            </tr>
            </thead>
        </table>
    </div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="deleteModal">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">删除</h4>
                <div id="id" style="display: none;"></div>
            </div>
            <div class="modal-body">
                <p>确定要删除这段未匹配问题吗？</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" onclick="deleteKeyWord($('#id').text());">确定</button>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="deleteModal2">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">新增未匹配问题</h4>
                <div id="id2" style="display: none;"></div>
            </div>
            <div class="modal-body">
               <textarea id="greetings" rows="3" cols="20" style="width:100%;ertical-align:top">

</textarea>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" onclick="xinzenwenhou($('#greetings').val())">确定</button>
            </div>
        </div>
    </div>
</div>
